package com.nari.ncps.screen.dto.excelimport.greenfp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 绿电足迹绿电之树信息表
 * </p>
 *
 * @author xuesong
 * @since 2025-08-23
 */
@Getter
@Setter
@TableName("qt_dp_greenfp_tree_value")
@Schema(name = "GreenfpTreeValue对象", description = "绿电足迹绿电之树信息表")
public class GreenfpTreeValue implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "年份")
    @TableField("year")
    private Integer year;

    @Schema(description = "月份")
    @TableField("month")
    private Integer month;

    @Schema(description = "日")
    @TableField("day")
    private Integer day;

    @Schema(description = "日期，格式yyyy-MM-dd")
    @TableField("date")
    private Date date;

    @Schema(description = "新能源装机容量(万千瓦)")
    @TableField("new_energy_capacity")
    private BigDecimal newEnergyCapacity;

    @Schema(description = "新能源装机占比(%)")
    @TableField("new_energy_capacity_ratio")
    private BigDecimal newEnergyCapacityRatio;

    @Schema(description = "技术创新率(%)")
    @TableField("tech_innovation_rate")
    private BigDecimal techInnovationRate;

    @Schema(description = "弃风率(%)")
    @TableField("wind_curtailment_rate")
    private BigDecimal windCurtailmentRate;

    @Schema(description = "弃光率(%)")
    @TableField("solar_curtailment_rate")
    private BigDecimal solarCurtailmentRate;

    @Schema(description = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @Schema(description = "创建人")
    @TableField("creator")
    private String creator;

    @Schema(description = "更新时间")
    @TableField("update_time")
    private Date updateTime;

    @Schema(description = "更新人")
    @TableField("updater")
    private String updater;
}
